<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <link rel="icon" href="<%= BASE_URL %>favicon.ico">
    <title>济南教育云地图</title>
    <script type="text/javascript"
            src="https://webapi.amap.com/maps?v=1.4.15&key=87643c43b7728348eab6e858b33b17c5"></script>
</head>
<body>
<noscript>
    <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled.
        Please enable it to continue.</strong>
</noscript>
<div id="app"></div>
<!-- built files will be auto injected -->
</body>
<script src="http://zhuanti.e23.cn/html/mm/js/jquery.js"></script>
<script type="text/javascript" src="//res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
<script type="text/javascript">
    var geturl = "http://ijinan.e23.cn/index.php?m=content&c=appcontent&a=getwxSha1&url=" + encodeURIComponent(window.location.href);
    $.ajax({
        type: "get",
        url: geturl,
        dataType: "jsonp",
        jsonp: "callback",
        jsonpCallback: "success_jsonpCallback1",
        success: function (json) {
            wx.config({
                debug: false,
                appId: json.wxappid,
                timestamp: json.timestamp,
                nonceStr: json.wxnonceStr,
                signature: json.wxSha1,
                jsApiList: ['onMenuShareTimeline', 'onMenuShareAppMessage']
            })
        },
        error: function () {

        }
    })
    wx.ready(function () {
        wx.onMenuShareTimeline({
            title: '济南教育云地图',
            link: 'http://zhuanti.e23.cn/html/views/educloudmaps/index.html',
            imgUrl: 'http://zhuanti.e23.cn/html/views/educloudmaps/300.png'
        });
        wx.onMenuShareAppMessage({
            title: '济南教育云地图',
            desc: '校园“云”开放 家长“云”逛校',
            link: 'http://zhuanti.e23.cn/html/views/educloudmaps/index.html',
            imgUrl: 'http://zhuanti.e23.cn/html/views/educloudmaps/300.png',
            type: 'link'
        })
    })
</script>